Reference for Wiring version 1.0 Build 0100+ If you have a previous version, use the reference included with your software. If see any errors or have any comments, let us know.
Name | - (minus) |
||||
---|---|---|---|---|---|
Examples | int c = 50 - 5; // Sets c to 45 int d = c - 5; // Sets d to 40 int e = d - 60; // Sets e to -20 |
||||
Description | The value of the second parameter is subtracted from the first. | ||||
Syntax | value1 - value2 |
||||
Parameters |
|
||||
Usage | Application | ||||
Related | -- (decrement) -= (subtract assign) + (addition) |